<?php
class BaseLib{
	function __construct(){
		$this->db = getDb(DEF_DB_CONN);
		if(MEM_CACHE == 'ON')
			$this->mc = get_instance_of('MemcachePHP');
	}
}